export const rules = {
    roleName: [{ required: true, trigger: 'blur', min: 2, max: 10, message: '请输入2-10个字符！' }],
    roleCode: [
        { required: true, message: '请输入角色编码', trigger: 'blur' }
    ],
    roleKey: [
        { required: true, message: '请选择权限信息', trigger: 'change' }
    ],
    menus: [
        { required: true, message: '请选择路由信息', trigger: 'change' }
    ]
}